<#include "header.htm"/>

<script type="text/JavaScript" src="${JForumContext.encodeURL("/js/list/moderation")}"></script>

<form action="${contextPath}/jforum${extension}" method="post" name="formModeration" id="formModeration" onsubmit="return askModerationReason();" accept-charset="${encoding}">
<input type="hidden" name="action" value="moveTopic" />
<input type="hidden" name="module" value="${moduleName}" />
<input type="hidden" name="returnUrl" value="${returnUrl?if_exists}" />
<input type="hidden" name="topics" value="${topics}" />
<input type="hidden" name="forum_id" value="${forum_id}" />
<input type="hidden" name="log_type" value="0">
<input type="hidden" name="log_description">







<div class="panel">
	<div class="inner"><span class="corners-top"><span></span></span>

	<div class="content">
		<h2>${I18n.getMessage("PostForm.moveTopic")}</h2>
		

		<fieldset>
		<dl class="fields2">
			<dt><label>${I18n.getMessage("PostForm.moveToForum")}:</label></dt>
			<dd>
								   <select name="to_forum">
										<#list allCategories as category>
											<optgroup label="${category.name}">
												<#list category.getForums() as forum>
													<option value="${forum.id}">&nbsp;&nbsp;${forum.name}</option>
												</#list>
											</optgroup>
										</#list>
									</select>
			
			
			
			</dd>
		</dl>
		<dl class="fields2">
			<dt>&nbsp;</dt>
			<dd><strong>${I18n.getMessage("PostForm.isMove")}</strong></dd>
		</dl>
		</fieldset>

		<fieldset class="submit-buttons">
            <input type="submit" name="confirm" value="${I18n.getMessage("Yes")}" class="button1">&nbsp; 
			<input type="button" name="cancel" value="${I18n.getMessage("No")}" onclick="history.go(-1)" class="button2">
			
		</fieldset>

	</div>

	<span class="corners-bottom"><span></span></span></div>
</div>
</form>
<#include "bottom.htm"/>